﻿
/********************************************************
 // Module Name    : Desktop ShortCuts
 // Purpose        : Short cut Item [ Icon ,Text ]
 // Class Used     : DesktopShortcut.cs
 // Created By     : Harwinder 
 // Date           : --
**********************************************************/

using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using SilverlightDesktop.Controls;

namespace VAdvantage.MainScreen
{
    public class DesktopShortcutItem : DesktopShortcut
    {
        public DesktopShortcutItem()
            : base()
        {

        }

        #region Properties

        /// <summary>
        /// New Properties Set Explorer for item
        /// </summary>
        public new  Explorer Explorer
        {
            get { return (Explorer)GetValue(ExplorerProperty); }
            internal protected set { SetValue(ExplorerProperty, value); }
        }


        public String Url
        {
            get;
            set;
        }

        public bool HasChild
        {
            get;
            set;
        }


        /// <summary>
        /// entity Action Of Item ('W','P' etc)
        /// </summary>
        /// 
        public String Action
        {
            get;
            set;
        }

        /// <summary>
        /// Key Id Of Action
        /// </summary>
        public int ActionID
        {
            get;
            set;
        }

        public int DynamicActionID
        {
            get;
            set;
        }

        public String ActionName
        {
            get;
            set;
        }

        /// <summary>
        /// class name of form to open
        /// </summary>
        public String SpecialAction
        {
            get;
            set;
        }

        public int KeyID
        {
            get;
            set;
        }

        #endregion
    }
}
